/*    */ package com.qmsk.business.member.questionnaire.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ import org.springframework.stereotype.Repository;
/*    */ 
/*    */ @Repository
/*    */ public class QuestionnaireDAO extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getquestionnaireList(Map<String, Object> params, Integer pageIndex, Short pageSize)
/*    */     throws SQLException
/*    */   {
/* 17 */     return getGsonOfParams("selectSqlofquestionnaire", params, 
/* 18 */       pageIndex, pageSize, true);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getProblemList(Long questionnaireId) throws SQLException {
/* 22 */     Map params = new HashMap();
/* 23 */     params.put("questionnaireId", questionnaireId);
/* 24 */     return getGsonOfParams("selectSqlOfQuestionnaireproblem", params, 
/* 25 */       false);
/*    */   }
/*    */ 
/*    */   public Long getCurrentQuestionId() throws SQLException {
/* 29 */     Map params = new HashMap();
/* 30 */     return queryForLong("selectCurrentQuestion", params, null);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.member.questionnaire.dao.QuestionnaireDAO
 * JD-Core Version:    0.5.3
 */